import { IConfigure } from '@type/configure';
import { resolve } from 'path';
export const configure: IConfigure = {
    appPrefix: '/api/service',
    appPort: 3001,
    env: 'development',
    passwordSalt: '123456',
    publicPath: resolve(__dirname, '../../static'),
    database: {
        type: 'mysql',
        host: '198.13.59.5',
        port: 3306,
        username: 'root',
        password: '!Qaz2wsx3edc',
        database: 'nest-demo',
        entities: [
            __dirname + '../**/*.entity{.ts,.js}',
            resolve(__dirname, '../')+'/**/*.entity{.ts,.js}',
            resolve(__dirname, '../')+'/**/*.dto{.ts,.js}'
        ],
        synchronize: false,
        // export declare type LoggerOptions = boolean | "all" | ("query" | "schema" | "error" | "warn" | "info" | "log" | "migration")[];
        logging: ['query']
    }
}